package v1

import "vite-tsc-gin/internal/apiserver/store"

type service struct {
	store store.Factory
}

type Service interface {
	Users() UserSrv
	Secrets() SecretSrv
}

func NewService(store store.Factory) Service {
	return &service{
		store: store,
	}
}
func (s *service) Users() UserSrv {
	return newUsers(s)
}

func (s *service) Secrets() SecretSrv {
	return newSecrets(s)
}
